<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@page import="java.io.*"%>
<!DOCTYPE HTML">
<html>
<head>

<title>My JSP 'oneFiles.jsp' starting page</title>
<link href="img/ico.ico" rel="shortcut icon">

<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />

<meta http-equiv="Content-Type" content="text/html;charset=GBK">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">

<style type="text/css">
.container {
	padding-left: 0%
}
</style>

</head>

<body>
	<%@ include file="pagetop/pagetitle.jsp"%>
	<hr />
	<div class="container">
		<hr />
		<i class="icon-home"></i><a href="index.action">回主页</a>
		<c:if test="${not empty question}">
		&gt;&gt;&gt;&gt;&gt;<i class="icon-question-sign"></i>
			<a href="oneQuestion.action?questionId=${question.id}">${question.questionname}</a>
		</c:if>
		&gt;&gt;&gt;&gt;&gt;
			<i class="icon-folder-open"></i><span>${files.filename}</span>
		<hr />

		<br /> 
		<i class="icon-folder-open"></i>${files.filename}----由${files.user.username}上传<br />
		<c:if test="${not empty filename}">
			<embed width="100%" height="480px;" src="files${filename}">
			<br/>
		</c:if>
		<c:if test="${empty filename}">
			<span>sorry,o(╯□╰)o,该文件不支持预览,或者该文件太大</span>
		</c:if>
		<span>${files.uploadtime}上传</span>
	</div>

</body>


</html>
